package com.s4j.struts.biz.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="biz_cp_supplement")
public class BizCpSupplement {

	private Long suppId;
	
	private PatientDoc patient;
	
	private Integer q1;
	
	private Integer q5_1;
	
	private Integer q5_2;
	
	private Integer q5_3;
	
	private Integer q5_4;
	
	private Integer q5_5;
	
	private Integer q5_6;
	
	private String q10;
	
	private String q15;
	
	private String q20;
	
	private Integer q25;
	
	private String q30;
	
	private String q35;
	
	private String q40;
	
	private String q45;
	
	private String q50;
	
	private String q55;
	
	private String q60;
	
	private String q65;
	
	private String q70;
	
	private String q75;
	
	private String q80;
	
	private String q85;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getSuppId() {
		return suppId;
	}

	public void setSuppId(Long suppId) {
		this.suppId = suppId;
	}

	@OneToOne  
    @JoinColumn(name="patientId",insertable=true,unique=true)
	public PatientDoc getPatient() {
		return patient;
	}

	public void setPatient(PatientDoc patient) {
		this.patient = patient;
	}

	public Integer getQ1() {
		return q1;
	}

	public void setQ1(Integer q1) {
		this.q1 = q1;
	}

	public Integer getQ5_1() {
		return q5_1;
	}

	public void setQ5_1(Integer q5_1) {
		this.q5_1 = q5_1;
	}

	public Integer getQ5_2() {
		return q5_2;
	}

	public void setQ5_2(Integer q5_2) {
		this.q5_2 = q5_2;
	}

	public Integer getQ5_3() {
		return q5_3;
	}

	public void setQ5_3(Integer q5_3) {
		this.q5_3 = q5_3;
	}

	public Integer getQ5_4() {
		return q5_4;
	}

	public void setQ5_4(Integer q5_4) {
		this.q5_4 = q5_4;
	}

	public Integer getQ5_5() {
		return q5_5;
	}

	public void setQ5_5(Integer q5_5) {
		this.q5_5 = q5_5;
	}

	public Integer getQ5_6() {
		return q5_6;
	}

	public void setQ5_6(Integer q5_6) {
		this.q5_6 = q5_6;
	}

	public String getQ10() {
		return q10;
	}

	public void setQ10(String q10) {
		this.q10 = q10;
	}

	public String getQ15() {
		return q15;
	}

	public void setQ15(String q15) {
		this.q15 = q15;
	}

	public String getQ20() {
		return q20;
	}

	public void setQ20(String q20) {
		this.q20 = q20;
	}

	public Integer getQ25() {
		return q25;
	}

	public void setQ25(Integer q25) {
		this.q25 = q25;
	}

	public String getQ30() {
		return q30;
	}

	public void setQ30(String q30) {
		this.q30 = q30;
	}

	public String getQ35() {
		return q35;
	}

	public void setQ35(String q35) {
		this.q35 = q35;
	}

	public String getQ40() {
		return q40;
	}

	public void setQ40(String q40) {
		this.q40 = q40;
	}

	public String getQ45() {
		return q45;
	}

	public void setQ45(String q45) {
		this.q45 = q45;
	}

	public String getQ50() {
		return q50;
	}

	public void setQ50(String q50) {
		this.q50 = q50;
	}

	public String getQ55() {
		return q55;
	}

	public void setQ55(String q55) {
		this.q55 = q55;
	}

	public String getQ60() {
		return q60;
	}

	public void setQ60(String q60) {
		this.q60 = q60;
	}

	public String getQ65() {
		return q65;
	}

	public void setQ65(String q65) {
		this.q65 = q65;
	}

	public String getQ70() {
		return q70;
	}

	public void setQ70(String q70) {
		this.q70 = q70;
	}

	public String getQ75() {
		return q75;
	}

	public void setQ75(String q75) {
		this.q75 = q75;
	}

	public String getQ80() {
		return q80;
	}

	public void setQ80(String q80) {
		this.q80 = q80;
	}

	public String getQ85() {
		return q85;
	}

	public void setQ85(String q85) {
		this.q85 = q85;
	}
}
